package com.samplecompany.gui;

import org.apache.wicket.markup.html.form.Form;
import org.apache.wicket.markup.html.form.TextField;
import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.model.Model;

public class FirstPanel extends Panel {
	private final Form<Void> form;
	private Model<String> firstNameModel;
	private Model<String> lastNameModel;

	public FirstPanel(String id) {
		super(id);
		add(form = new Form<Void>("form"));
		form.add(new TextField<String>("first-name-field", firstNameModel = Model.of("")));
		form.add(new TextField<String>("last-name-field", lastNameModel = Model.of("")));
	}
}
